package com.gt.web.srv.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 居民评议
 * @TableName biz_consult
 */
@TableName(value ="biz_consult")
@Data
public class Consult extends BaseAuto {
    /**
     * 咨询Id
     */
    @TableId(type = IdType.AUTO)
    private Long consultId;



    /**
     * 来自谁的提问 关联peop_id
     */
    private Long peopleId;

    /**
     * 评议人所在社区ID
     */
    private Integer communityId;
    private String communityName;

    /**
     * 居民评议类型 0：咨询，1：建议，2：投诉
     */
    private Integer type;

    /**
     * 咨询内容
     */
    private String content;

    /**
     * 回复内容
     */
    private String reply;
    private LocalDateTime replyTime;;
    private Long replyPeopleId;
    private String replyPeopleName;

    /**
     * 图片地址
     */
    private String picUrl;

    /**
     * 回复状态 0：待回复，1：已回复
     */
    private Integer status;

    /**
     * 是否匿名提交 0：否，1：是
     */
    private Integer anonymous;
    private Integer gridId;
    private Long score;
    private String peopleName;
    private LocalDateTime applyTime;
}